<div id="masterhead">
    <img alt="cmn logo" src="images/logo.png" />
    <ul id="masternav">
       <?php
        $items = array(
                        'home'=>array(
                                'href' => '?p=home&t=home',
                                'title' => 'Home pagina',
                                'name' => 'Geo plaza'
                        ), 
                        'studenten'=>array(
                                'href' => '?p=makeprofile&t=student',
                                'title' => 'Studenten',
                                'name' => 'Studenten'
                        ), 
                        'werkgevers'=>array(
                                'href' => '?p=werkgever&t=werkgever',
                                'title' => 'Werkgevers',
                                'name' => 'Werkgevers' 
                        ),
                        'onderwijsinstelling'=>array(
                                'href' => '?p=onderwijs&t=onderwijs',
                                'title' => 'Onderwijs',
                                'name' => 'Onderwijs'
                        ),
                        'contact'=>array(
                                'href' => '?p=contact&t=home',
                                'title' => 'Contact',
                                'name' => 'Contact'
                        )
                );
foreach ($items as $name=>$item_arr) {
        $class = ($name == $page) ? "class='active'" : "";
        echo "<li><a ".$class." title='".$item_arr['title']."' href='".$item_arr['href']."'>".$item_arr['name']."</a></li>\n";
}
?>
    </ul>
</div>

